package com.ruoyi.bus.domain;

import java.sql.Time;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客车信息对象 wx_bus
 *
 * @author xie
 * @date 2024-12-23
 */
public class WxBus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** busID */
    private Long busID;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plate;

    /** 客车起始地点 */
    @Excel(name = "客车起始地点")
    private String busstart;

    /** 开车时间 */
    @JsonFormat(pattern = "hh:mm:ss")
    @Excel(name = "开车时间", width = 30, TimeFormat = "hh:mm:ss")
    private Time starttime;

    /** 客车终点 */
    @Excel(name = "客车终点")
    private String busend;

    /** 到达时间 */
    @JsonFormat(pattern = "hh:mm:ss")
    @Excel(name = "到达时间", width = 30, TimeFormat = "hh:mm:ss")
    private Time endtime;
    /** 价格 */
    @Excel(name = "价格")
    private Long busmoney;
    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driver;

    /** 司机电话 */
    @Excel(name = "司机电话")
    private String drivercall;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String busimage;

    /** 营运状态 */
    @Excel(name = "营运状态")
    private String state;

    /** $table.subTable.functionName信息 */
    private List<BusWay> busWayList;

    public void setBusID(Long busID)
    {
        this.busID = busID;
    }

    public Long getBusID()
    {
        return busID;
    }
    public void setPlate(String plate)
    {
        this.plate = plate;
    }

    public String getPlate()
    {
        return plate;
    }
    public void setBusstart(String busstart)
    {
        this.busstart = busstart;
    }

    public String getBusstart()
    {
        return busstart;
    }
    public void setStarttime(Time starttime)
    {
        this.starttime = starttime;
    }

    public Time getStarttime()
    {
        return starttime;
    }
    public void setBusend(String busend)
    {
        this.busend = busend;
    }

    public String getBusend()
    {
        return busend;
    }
    public void setEndtime(Time endtime)
    {
        this.endtime = endtime;
    }

    public Time getEndtime()
    {
        return endtime;
    }
    public void setBusmoney(Long busmoney)
    {
        this.busmoney = busmoney;
    }

    public Long getBusmoney()
    {
        return busmoney;
    }
    public void setDriver(String driver)
    {
        this.driver = driver;
    }

    public String getDriver()
    {
        return driver;
    }
    public void setDrivercall(String drivercall)
    {
        this.drivercall = drivercall;
    }

    public String getDrivercall()
    {
        return drivercall;
    }
    public void setBusimage(String busimage)
    {
        this.busimage = busimage;
    }

    public String getBusimage()
    {
        return busimage;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }

    public List<BusWay> getBusWayList()
    {
        return busWayList;
    }

    public void setBusWayList(List<BusWay> busWayList)
    {
        this.busWayList = busWayList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("busID", getBusID())
                .append("plate", getPlate())
                .append("busstart", getBusstart())
                .append("starttime", getStarttime())
                .append("busend", getBusend())
                .append("endtime", getEndtime())
                .append("busmoney", getBusmoney())
                .append("driver", getDriver())
                .append("drivercall", getDrivercall())
                .append("busimage", getBusimage())
                .append("state", getState())
                .append("busWayList", getBusWayList())
                .toString();
    }
}
